const mongoose = require('mongoose')
//创建文档结构对象
let UserSchema = new mongoose.Schema({
    username:String,
})
//创建模型对象，对文档操作的封装对象
let UserModel = mongoose.model('users',UserSchema)
//暴露模型对象
module.exports = UserModel